using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("PlayerPortrait")]
	public class PlayerPortrait : MonoBehaviour
	{
		public string m_currentTextureName => method_4("m_currentTextureName");

		public string m_loadingTextureName => method_4("m_loadingTextureName");

		public PlayerPortrait(IntPtr address, string className)
			: base(address, className)
		{
		}

		public PlayerPortrait(IntPtr address)
			: this(address, "PlayerPortrait")
		{
		}

		public bool IsIconReady()
		{
			return method_11<bool>("IsIconReady", Array.Empty<object>());
		}

		public bool IsIconLoading()
		{
			return method_11<bool>("IsIconLoading", Array.Empty<object>());
		}

		public void UpdateIcon()
		{
			method_8("UpdateIcon");
		}

		public void OnTextureLoaded(AssetReference assetRef, object obj, object callbackData)
		{
			method_8("OnTextureLoaded", assetRef, obj, callbackData);
		}
	}
}
